<p>
  <%= form.label :username, "用户名:" %><br />
  <%= form.text_field :username, :maxlength => User::USERNAME_MAXIMUM, :minlength => User::USERNAME_MINIMUM, :style => "width: 212px;" %><span class="require">*</span><%= error_message_on :user, :username %>
</p>
<p>
  <%= form.label :email, "邮箱:" %><br />
  <%= form.text_field :email %><span class="require">*</span><%= error_message_on :user, :email %>
</p>
<p>
  <%= form.label :website, "站点:" %><br />
  <%= form.text_field :website %><%= error_message_on :user, :website %>
</p>
<p>
  <%= form.label :password, form.object.new_record? ? "密码:" : "修改密码:" %><br />
  <%= form.password_field :password,:minlength => User::PASSWORD_MINIMUM %><span class="require">*</span><%= error_message_on :user, :password %>
</p>
<p>
  <%= form.label :password_confirmation,"确定密码:" %><br />
  <%= form.password_field :password_confirmation %><span class="require">*</span>
</p>
